#ifndef MAINSCENE_H
#define MAINSCENE_H

#include <QMainWindow>
#include <chooselevelscene.h>
#include <playscene.h>
QT_BEGIN_NAMESPACE
namespace Ui { class MainScene; }
QT_END_NAMESPACE

class MainScene : public QMainWindow
{
    Q_OBJECT
private:
    ChooseLevelScene * chooseLevelScene = NULL;

    PlayScene * playScene = NULL;
public:
    MainScene(QWidget *parent = nullptr);
    ~MainScene();
    // 重写paintEvent事件
    void paintEvent(QPaintEvent *);
    // 跳转槽
    void jumpChooseScene();
private:
    Ui::MainScene *ui;
};
#endif // MAINSCENE_H
